package model

import (
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ MallRoleAuthModel = (*customMallRoleAuthModel)(nil)

type (
	// MallRoleAuthModel is an interface to be customized, add more methods here,
	// and implement the added methods in customMallRoleAuthModel.
	MallRoleAuthModel interface {
		mallRoleAuthModel
	}

	customMallRoleAuthModel struct {
		*defaultMallRoleAuthModel
	}
)

// NewMallRoleAuthModel returns a model for the database table.
func NewMallRoleAuthModel(conn sqlx.SqlConn) MallRoleAuthModel {
	return &customMallRoleAuthModel{
		defaultMallRoleAuthModel: newMallRoleAuthModel(conn),
	}
}
